Imagify\Optimization\File B

Total Complexity 82
Dependencies 5
Dependents 5
Total lines 868
Lines of code 368
Logical lines of code 190
Comment lines 371
Methods 21
Properties 6

Methods 21

Method Rating Maintainability Complexity Lines of code
resize()
B
37 20 74
optimize()
A
39 11 67
create_thumbnail()
A
46 9 40
can_be_processed()
A
45 7 46
backup()
S
52 7 23
get_editor()
S
55 3 20
get_editor_methods()
S
60 3 16
get_file_type()
S
60 3 14
get_path_to_webp()
S
67 3 9
get_dimensions()
S
62 2 13
get_option()
S
69 2 7
is_exceeded()
S
69 2 7
is_image()
S
68 2 7
is_webp()
S
79 1 3
__construct()
S
76 1 4
get_path()
S
82 1 3
get_extension()
S
81 1 3
get_mime_type()
S
81 1 3
is_pdf()
S
80 1 3
is_valid()
S
81 1 3
is_supported()
S
79 1 3